package cmd

import (
	"fmt"
	"gitee.com/swsk33/landsat-fetch/cmd/download"
	"github.com/spf13/cobra"
)

// RootCmd 根命令
var RootCmd = &cobra.Command{
	Use:   "landsat-fetch",
	Short: "Landsat影像批量下载",
	Long:  "用于批量下载Landsat影像的工具",
	Run: func(cmd *cobra.Command, args []string) {
		fmt.Println("请执行landsat-fetch -h查看更多")
	},
}

func init() {
	RootCmd.CompletionOptions.HiddenDefaultCmd = true
	RootCmd.AddCommand(download.RootDownloadCmd)
}